package com.wizard.moremall.common.mapper;

import com.wizard.moremall.common.entity.Category;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wizard.moremall.common.vo.IndexCategoryVO;
import com.wizard.moremall.common.vo.IndexTagVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2024-01-18
 */
@Mapper
public interface CategoryMapper extends BaseMapper<Category> {

    //首页二级分类列表
    List<IndexCategoryVO> indexList();

    //首页顶部推荐商品
    List<IndexTagVO> indexTop();
}
